package com.saishi.entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BooksQuestion {
    int bqid;
    int bqquestionid;
    int bqbookid;

    public BooksQuestion(int bqquestionid, int bqbookid) {
        this.bqquestionid = bqquestionid;
        this.bqbookid = bqbookid;
    }

    @Override
    public String toString() {
        return "\nbooksquestion{" +
                "bqid=" + bqid +
                ", bqquestionid=" + bqquestionid +
                ", bqbookid=" + bqbookid +
                '}';
    }
}
